package dealfinder

class City {
    
    String name
    byte[] image
    
    static hasMany = [deals: Deal]
    
    static belongsTo = [Deal]


    static constraints = {
        image(nullable:false, maxSize: 5242880) //5MB

    }
}
